Form1 3D Test 1/8/93 03:59 PM Form1 Command2 MsgBox CMDialog1 CommonDialog Command1 File Open Label1 This is a demonstration of using the CTL3D.DLL from Excel to apply 3D effects to screens. Alas, it doesn't work with VB forms, but it still makes it easy to apply a 3D-look to common dialogs and message boxes. Form_Load GetModuleHandle lpModuleName Ctl3dRegister hInstance Ctl3dAutoSubClass Ctl3dUnregister Form_Unload Cancel. Command1_Click CmDialog1 Action Command2_Click Label1_Click Kernel CTL3D.DLL CTL3D.DLL CTL3D.DLL How to use CTL3D.DLL 1. Call GetModuleHandle to get an instance handle for your app--required by all the CTL3D calls 2. Call Ctl3dRegister and Ctl3dAutoSubClassh 3. Be sure to call Ctl3dUnregister before ending your appr See Form_Load and Form_Unload procedures for more info Paul Bonnera CIS: 76000,13 Command1_Click Command2_Click This is a test of the 3D Control Message Box Form_Load 3dTest.EXE Form_Unload